package Case01.demo01;

public class Test {
    public static void main(String[] args) {

        Pupil pupil = new Pupil();
        pupil.study();
        System.out.println("----------------------");

        CollegeStudent collegeStudent = new CollegeStudent();
        collegeStudent.study();
        collegeStudent.english();
        collegeStudent.computer();
        System.out.println("------------------------");

        Basketball basketball = new Basketball();
        basketball.tosport();
        System.out.println("------------------------");


        Footballer footballer = new Footballer();
        footballer.tosport();
        footballer.english();


    }
}
